<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <ul id="memebers"></ul>
    <script>
        console.log(fetch('https://api.github.com/orgs/lemoncode/members'))
       // fetch('https://api.github.com/orgs/lemoncode/members')
       // .then(data=>data.json())
       // .then(res => {
       //     //你要完成页面更新，异步任务完成
       //     /* console.log(res); */
       //     document.getElementById('memebers').innerHTML = 
       //     res.map(item => `<li>${item.login}</li>`).join('');
       // })
    </script>
</body>
</html>